<extend name="Index:index" />
    <block name="nav1">
        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="#">Admin</a>
            </li>
            <li class="active">用户管理</li>
        </ul><!-- .breadcrumb -->
    </block>

    <block name="nav2">
        <h1>
        用户管理
            <small>
                <i class="icon-double-angle-right"></i>
                信息查询
            </small>
        </h1>
    </block>
    <block name="main">
        <div class="row">
            <div class="col-xs-12">
                <p>
                    给 <b><{$users.username}></b> 分配权限
                </p>
            
                <form action="<{:U('Auser/saverole')}>" method='post'>
                <p style="width:600px">
                    <volist name="list" id="vo">
                        <input type="radio" name="role[]"  value="<{$vo.id}>" <if condition="in_array($vo['id'],$role) eq true">checked</if>><{$vo.rname}>
                        &nbsp;
                        &nbsp;
                        &nbsp;
                    </volist>
                </p>
                <input type="hidden" name="user_id" value="<{$users.id}>">
                <input type="submit" value="保存" class="btn btn-primary">

                </form>
            </div>
        </div>
    </block>